// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#include "targetver.h"

#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers

#define _WIN32_DCOM				// This is needed for CoInitializeEx which I should use because this is modern software

// Windows Header Files:
#include <windows.h>
#include <wininet.h>
#include <shellapi.h>
#include <windowsx.h>

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit

#include <atlbase.h>
#include <atlstr.h>
#include <atltypes.h>
#include <atlcoll.h>
#include <atlfile.h>
#include <atltime.h>

// COM development
#include <objbase.h>
#include <shlobj.h>

// GDI+ (must be included after COM)
#include <gdiplus.h>

// MSXML
#include <msxml2.h>

// TR1
#include <regex>

using namespace Gdiplus;
using namespace std::tr1;

// App-level definitions
#define MaxLoadString     256
#define MaxErrorBuffer    1024
#define MaxResponseBuffer 1024
#define MaxTwitterStatus  256
#define MaxInternetPart   512
